/**
 * 
 */
package com.bemol.kernel.library;

import com.bemol.kernel.library.service.AudioLibraryService;
import com.bemol.kernel.service.ServiceEvent;

/**
 * @author samuelgmartinez
 *
 */
public interface Event extends ServiceEvent {

	public void beforeAdd(AudioFile musicObject, AudioLibraryService source);
	
	public void onSuccessfulAdd(AudioFile musicObject, AudioLibraryService source);
	
	public void onFailureAdd(AudioFile musicObject, AudioLibraryService source);
	
	public void beforeDelete(AudioFile musicObject, AudioLibraryService source);
	
	public void onSuccessfulDelete(AudioFile musicObject, AudioLibraryService source);
	
	public void onFailureDelete(AudioFile musicObject, AudioLibraryService source);
	
}
